package cn.ycc1.boot3mvc.user.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.util.Date;

/**
 * @author ycc
 * @date 2023/12/4
 */
@Data
public class UserExportVo {
    @ExcelProperty(value = "用户ID")
    @ColumnWidth(10)
    private Long id;

    @ColumnWidth(20)
    @ExcelProperty(value = "用户名")
    private String username;

    @ColumnWidth(60)
    @ExcelProperty(value = "密码")
    private String password;

    @ColumnWidth(15)
    @ExcelProperty(value = "手机号")
    private String phone;

    @ColumnWidth(15)
    @ExcelProperty(value = "邮箱")
    private String email;

    @ColumnWidth(20)
    @ExcelProperty(value = "创建时间")
    private Date createTime;
}
